package com.ruoyi.project.wx.dao;

import com.ruoyi.project.wx.domain.CmsContentDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 分销设置
 * @author sys
 * @email 1992lcg@163.com
 * @date 2019-03-24 17:03:45
 */
@Mapper
public interface CmsContentDao {

	CmsContentDO get(Long id);
	
	List<CmsContentDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CmsContentDO cmsContent);
	
	int update(CmsContentDO cmsContent);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	List<CmsContentDO> getByType(String type);
}
